#!/bin/bash -ex

PANDA_DIR="${1:-/home/aleks/repos/panda}"
PANDA_BUILD_SDK="${PANDA_DIR}/static_core/scripts/sdk/build_sdk.sh"
BUILD_TYPE="Debug"

BUILD_DIR="${2:-/home/aleks/build_dirs/panda_sdks_buids}"
mkdir -p ${BUILD_DIR}

BUILD_DIR=${BUILD_DIR} \
${PANDA_BUILD_SDK} \
sdk_host_debug \
--build_type=${BUILD_TYPE} \
--linux_tools \
--ets_std_lib \
--icu_dat_file
